package com.ruoyi.system.service;

import com.ruoyi.system.domain.BCompany;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.vo.BCompanyVo;
import java.util.List;

/**
* @author yangxingze
* @description 针对表【b_company(药企表)】的数据库操作Service
* @createDate 2024-12-28 00:45:04
*/
public interface BCompanyService extends IService<BCompany> {

    /**
     * 保存药企信息
     * @param companyVo
     * @return
     */
    boolean saveVo(BCompanyVo companyVo);

    /**
     * 更新药企信息
     * @param companyVo
     * @return
     */
    boolean updateVo(BCompanyVo companyVo);

    /**
     * 根据条件查询药企列表
     * @param company
     * @return
     */
    List<BCompanyVo> selectCompanyList(BCompany company);

    /**
     * 根据id查询药企
     * @param id
     * @return
     */
    BCompanyVo selectCompanyById(Long id);

    /**
     * 删除药企
     * @param ids
     * @return
     */
    int deleteCompanyByIds(Long[] ids);
}
